<template>
  <div class="footer-container">
    <div class="footer-content">
      <div class="footer-logo">
        <h2>Ghiblio Art</h2>
        <p>AI 驱动的吉卜力风格图像生成</p>
      </div>
      
      <div class="footer-links">
        <div class="footer-section">
          <h3>关于我们</h3>
          <ul>
            <li><a href="#about">公司简介</a></li>
            <li><a href="#team">团队成员</a></li>
            <li><a href="#contact">联系我们</a></li>
          </ul>
        </div>
        
        <div class="footer-section">
          <h3>服务</h3>
          <ul>
            <li><a href="#services">AI 图像生成</a></li>
            <li><a href="#pricing">价格方案</a></li>
            <li><a href="#api">API 接口</a></li>
          </ul>
        </div>
        
        <div class="footer-section">
          <h3>资源</h3>
          <ul>
            <li><a href="#docs">文档</a></li>
            <li><a href="#blog">博客</a></li>
            <li><a href="#faq">常见问题</a></li>
          </ul>
        </div>
      </div>
      
      <div class="footer-social">
        <h3>关注我们</h3>
        <div class="social-icons">
          <a href="#" class="social-icon">微信</a>
          <a href="#" class="social-icon">微博</a>
          <a href="#" class="social-icon">知乎</a>
        </div>
      </div>
    </div>
    
    <div class="footer-bottom">
      <p> 2025 Ghiblio Art. 保留所有权利。</p>
      <div class="footer-bottom-links">
        <a href="#terms">服务条款</a>
        <a href="#privacy">隐私政策</a>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
// No additional script needed
</script>

<style scoped>
.footer-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: url('/footer.png') no-repeat center center;
  background-size: cover;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 180px 20px 40px;
  will-change: transform;
  transform: translateZ(0);
}

.footer-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 1;
}

.footer-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 60px;
}

.footer-logo {
  flex: 1 1 100%;
  margin-bottom: 40px;
  text-align: center;
}

.footer-logo h2 {
  font-size: 2.5rem;
  margin: 0;
  background: linear-gradient(45deg, #42b883, #64b5f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.footer-logo p {
  font-size: 1.1rem;
  margin-top: 10px;
  color: #fff;
}

.footer-links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.footer-section {
  flex: 1;
  min-width: 160px;
  margin: 0 15px 30px;
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #42b883;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 12px;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #42b883;
}

.footer-social {
  flex: 1;
  min-width: 200px;
  margin: 0 15px;
}

.footer-social h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-social h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #42b883;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: #42b883;
  transform: translateY(-3px);
}

.footer-bottom {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  color: #fff;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #42b883;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
  }
  
  .footer-links {
    flex-direction: column;
  }
  
  .footer-section {
    margin-bottom: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}
</style>
